// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.kpdus.com/jad.html
// Decompiler options: packimports(3) 

package com.nnee.p_fk;

import android.app.Activity;
import android.content.ComponentName;
import android.content.pm.ActivityInfo;
import android.content.pm.PackageManager;
import android.content.pm.PackageManager.NameNotFoundException;
import android.content.res.Resources;
import android.os.Bundle;
import android.preference.PreferenceActivity;
import com.nnee.p_pr.p_d.cls_c;

// Referenced classes of package com.nnee.p_fk:
//            c, e, j

public class cls_PreferenceActivityEx extends PreferenceActivity
    implements  com.nnee.p_fk.cls_c, cls_e
{

    public cls_PreferenceActivityEx()
    {
        a = null;
    }

    private ComponentName a()
    {
        ComponentName componentname = getComponentName();
        if(componentname == null)
            componentname = new ComponentName(this, getClass());
        return componentname;
    }

    private String b()
    {
        String s = null;
        ActivityInfo activityinfo=null;
		try {
			activityinfo = getPackageManager().getActivityInfo(a(), 128);
		} catch (NameNotFoundException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
        Object obj = activityinfo;
        if(obj == null || ((ActivityInfo) (obj)).metaData == null) {}else {
        	int i = ((ActivityInfo) (obj)).metaData.getInt("logname");
            if(i <= 0) {} else {
            	String s1 = getResources().getString(i);
                s = s1;
            }
        }
 
        return s;
      
    }

    public void a(Activity activity)
    {
        cls_j.d(activity);
    }

    public void b(Activity activity)
    {
    	cls_j.i(activity);
    }

    public void c(Activity activity)
    {
    	cls_j.g(activity);
    }

    public void d(Activity activity)
    {
    	cls_j.f(activity);
    }

    public void e(Activity activity)
    {
    	cls_j.e(activity);
    }

    public String f()
    {
        if(a == null)
            a = b();
        return a;
    }

    public void f(Activity activity)
    {
    	cls_j.h(activity);
    }

    public void f_()
    {
    }

    protected void onCreate(Bundle bundle)
    {
        super.onCreate(bundle);
        a(this);
    }

    protected void onDestroy()
    {
        super.onDestroy();
        b(this);
    }

    protected void onPause()
    {
        super.onPause();
        c(this);
    }

    protected void onResume()
    {
        super.onResume();
        d(this);
        com.nnee.p_pr.p_d.cls_c.b(f());
    }

    protected void onStart()
    {
        super.onStart();
        e(this);
    }

    protected void onStop()
    {
        super.onStop();
        f(this);
    }

    private String a;
    private final String b = "logname";
}
